home *** CD-ROM | disk | FTP | other *** search
-
-
-
- tnchmod(1) tnchmod(1)
-
-
- NNAAMMEE
- tnchmod - change or assign the mode of a file or directory
- in a manner similar to that of the UNIX "chmod" command,
- as well as change the mode of the corresponding TotalNET
- Advanced Server (TAS) shadow file for the file or direc-
- tory
-
-
- LLOOCCAATTIIOONN
- TNHOME/usr/bin
-
-
- SSYYNNOOPPSSIISS
- tnchmod [-f] [-i] [-R] _a_b_s_o_l_u_t_e___m_o_d_e _f_i_l_e_s_._._.
- tnchmod [-f] [-i] [-R] _s_y_m_b_o_l_i_c___m_o_d_e___l_i_s_t _f_i_l_e_s_._._.
-
-
- DDEESSCCRRIIPPTTIIOONN
- This command changes or assigns the mode of a file or
- directory in a manner similar to that of the UNIX "chmod"
- command, as well as changes the mode of the corresponding
- TotalNET Advanced Server (TAS) shadow file for the file or
- directory. For more information, refer to the "chmod" man
- page.
-
-
-
- OOPPTTIIOONNSS
- -f Prevent "tnchmod" from printing error mes-
- sages even when it fails to change the
- mode.
-
-
- -i Cause "tnchmod" to prompt for confirmation
- before changing the mode of a file or
- directory.
-
-
- -R Cause "tnchmod" to change the mode and
- shadow file information of a directory and
- every file and directory under that direc-
- tory.
-
-
-
- OOPPEERRAANNDDSS
- _a_b_s_o_l_u_t_e___m_o_d_e A four-digit octal umask mode.
-
-
- _f_i_l_e_s_._._. The paths of files or directories whose
- modes you want to modify.
-
-
-
-
-
-
- tas-ss-5.3.0 1998/06/17 1
-
-
-
-
-
- tnchmod(1) tnchmod(1)
-
-
- _s_y_m_b_o_l_i_c___m_o_d_e___l_i_s_t
- A list of symbolic expressions in the fol-
- lowing format, where _w_h_o represents the
- characters "u", "g", "o", and/or "a"; _o_p_e_r_-
- _a_t_o_r designates the way you want permis-
- sions to change, with "+", "-", or "="; and
- _p_e_r_m_i_s_s_i_o_n_s represents any compatible com-
- bination of "r", "w", "x", "l", "s", and
- "t":
-
- _[_w_h_o_] _o_p_e_r_a_t_o_r _[_p_e_r_m_i_s_s_i_o_n_s_]
-
-
-
- EEXXAAMMPPLLEESS
- To change the mode of the file "userlist.doc" to "read"
- and "write" permissions for the owner and "read-only" per-
- missions for others:
-
- tnchmod 644 userlist.doc
-
-
- To add "write" permissions for everyone to the files "pre-
- sent.doc" and "schedule.doc" and the directory "mgmt":
-
- tnchmod a+w present.doc schedule.doc mgmt
-
-
- To change the permission of the file "log.nw" to "777"
- without receiving any error messages:
-
- tnchmod -f 777 log.nw
-
-
- To change the permission of the file "testplan.doc" to
- "777" and prompt for confirmation before the mode changes:
-
- tnchmod -i 777 testplan.doc
-
-
- To change the mode of the directory "marketing", and all
- files and directories under it, to "read" and "write" per-
- missions for everyone:
-
- tnchmod -R a+r+w marketing
-
-
-
- SSEEEE AALLSSOO
- chmod(1), tnchown(1), tnchgrp(1)
-
-
-
-
-
-
-
- tas-ss-5.3.0 1998/06/17 2
-
-
-